home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 034a / cdcomsig.zip / CDCOM.DOC < prev    next >
Text File  |  1991-10-07  |  39KB  |  879 lines

  1.  
  2.  
  3. CdCom -   CD-ROM Support Door
  4. Supporting PC-SIG CdRom Disks
  5.  
  6. 10/5/91  -  Read the README.1ST file before reading this if you have not
  7. done so already!
  8.  
  9. Support BBS's:
  10. HIS Board              (805) 652-1478  1200/2400/9600 HST 14.4k
  11.        or              (805) 659-4323  12/24
  12. Advanced Electronic
  13. Technologies BBS       (704) 545-7076  12/24/9600 DS
  14.  
  15. Author frequents His Board.
  16.  
  17. CdCom is a user friendly door that will allow users to have
  18. access to and download disks from the PC-SIG cdrom disks.
  19.  
  20. PC-SIG organizes their software by disk number, and this program
  21. follows that same logic.  It at this time only allows the users to
  22. access the files by disk number.  With the new disk, all files are
  23. zipped.  The user can view the disk and extract using an external
  24. view program.  All protocols used are external and are dynamically
  25. configured in setup files you create.  Batch transfering is available
  26. for protocols that support it (see protocol.doc).
  27.  
  28. Users can read descriptions while online (by disk number) and search
  29. for text in the description file.  Hits on the search are given by disk
  30. number, and they can use the read or browse descriptions functions to
  31. see if that is the file they want.  They can also list the disks
  32. by the categories defined by pc-sig.
  33.  
  34. This door was written to use Wildcats CALLINFO.BBS door user information
  35. file, however it can be run with other bbs software by simply creating a
  36. callinfo.bbs file using a conversion program.  Qkdoor25 creates an
  37. adequate callinfo.bbs for most bbs packages door info.  See notes at
  38. the end of this documentation file for more info on callinfo.bbs and
  39. what info CdCom uses out of it.
  40.  
  41. Files in this CDCOMSIG.ZIP are:
  42.  
  43. CDCOM.DEF        - Set-up File
  44. CDCOM.EXE        - Main Program
  45. CDCOM.DOC        - Documentation
  46. CDCOM.BBS        - Main Menu Screen
  47. CDCOM1.BBS       - User Defined Intro Screen
  48. CDROP.BAT        - Sample Shell to DOS Batch File.
  49. MAIN.HLP         - Help File Explains Commands.
  50. PROTOCOL.BBS     - Protocol Display Menu.
  51. PROTOCOL.DEF     - Protocol Set Up File.
  52. PROTOCOL.BAT     - Protocol Batch File.
  53. PROTOCOL.DOC     - Protocol Documentation.
  54. REGISTER.DOC     - Program Registration Information.
  55.  
  56. Note:
  57.   For multi-node setups some of these files will have different names.
  58. Please refer to multi-node setup instructions below even if you are not
  59. going to run multi-node.
  60.  
  61. In addition, CdCom will create or use:
  62.  
  63. CDCOM.HIS      - Contains disk file sizes and # of times downloaded
  64. CALLINFO.BBS   - Wildcats caller door info created when a door is run.
  65. CDCOM.LOG      - A log file that lists the user's activity.
  66. CRITICAL.LOG   - Updated when a program error occurs. I'll need the info
  67.                  in here if you call for help with a program crash.
  68. CDCOM.TDY      - Keeps track of users time for the current day
  69. CDCOM.DSK      - Allows you to keep disk numbers from being accessed
  70. CATEGORY.CAT   - Contains the Disks by Category
  71. CATEGORY.PTR   - Pointer File for Category listings
  72. CATEGORY.BBS   - Menu for Category Listings
  73. 1_####.UPP     - Description File
  74. 1_####.PTR     - Pointer for Description File
  75. CDCOM.SEC      - Security File (optional)
  76. CDCOM.FIX      - Allows correction of disks that are wrong on cdrom or adding
  77.                  of new disks
  78.  
  79. The distribution package (unregistered version) has the following
  80. features disabled:
  81.  
  82. 1) Color menus/text are not allowed.
  83. 2) Cdcom.sec support is not functional.
  84. 3) Top 45 download report is not functional.
  85. 4) Only 3 files can be batch downloaded at a time.
  86. 5) Future versions will have record updating and advanced ratio checking.
  87.    This will not be enabled in unregistered version.
  88.  
  89. These features are enabled after registration.  All other features of
  90. the door are functional besides these.
  91.  
  92. There is also a message given to the user when they go to download
  93. that the program is unregistered.  This will cease after registration.
  94.  
  95. =============================================================================
  96.  
  97. SET-UP:
  98.  
  99.  CdCom will accept the following parameters on the command line:
  100.  
  101. ADD  - Adds new description to description file (see below)
  102. CAT  - Creates category files (.cat, .ptr, .bbs)
  103. CPTR - Creates or updates the category pointer file
  104. DESC - Converts the description file and creates pointer files
  105. DPTR - Creates or updates the description pointer files
  106. REGISTER - Registers CdCom
  107. RESET - Resets or creates cdcom.his file
  108. CALLINFO.BBS - callinfo.bbs or drive:\path\callinfo.bbs are accepted
  109.                for telling cdcom to use callinfo.bbs
  110.  
  111. There are four major steps to get the door up and running.
  112.  
  113. 1) Convert descriptions (if you want to) using cdcom desc.  Explanation below.
  114.  
  115. 2) Convert category listings using cdcom cat.  See explanation below.
  116.  
  117. 3) Run CDCOM RESET to create the cdcom.his file.
  118.  
  119. 3) Create CDCOM#.DEF files (# depending on whether or not you are
  120.    running multi-node or not, see explanation below).
  121.  
  122. 4) Edit PROTOCOL.DEF and PROTOCOL.BAT to reflect what protocols you
  123.    intend to support.  See protocol.doc for explantion.
  124.  
  125.    These steps are the minimum to get the door up and running.  Other
  126. steps would be to edit the menu files to your liking, create a cdcom.sec,
  127. cdcom.dsk, etc to customize the program to work the way you want it to.
  128.  
  129. =============================================================================
  130.  
  131. DESCRIPTIONS and CATEGORY LISTINGS:
  132.  
  133. CdCom allows the users to search the large description file on the cdrom
  134. disk in the \DOD directory that has the .UPP extention on it.  For versions
  135. up to the 10th edition, this file was always called 1_1000.UPP.  With the
  136. 10th they named it 1_2804.UPP.  This file can either be run off the cdrom
  137. disk or on the hard disk.  Obviously it will be much faster off the hard
  138. disk to search, etc but if you just don't have the room then run it off the
  139. cdrom disk.
  140.  
  141. If you decide to run it off the hard disk, then copy it off the cdrom
  142. disk to the current directory and run
  143.  
  144. CDCOM DESC
  145.  
  146. this will strip off the extraneous spaces on the description lines and
  147. knock the size down about 1.5 megs or so, depending on which disk you have.
  148. It will then create the pointer files .PTR and .QRF.  It will prompt you for
  149. the path and filename to the description file.  If the description file is
  150. in the current directory, you can just enter the filename.  It will check
  151. to see if 1_1000.UPP is there first, and if so it will not prompt you
  152. for the description filename but go to the next question.  Next it will
  153. ask you how many disk numbers are supported by the disk.  For the 10th
  154. this would be 2804, the 9th 2485, etc.
  155.  
  156. If you want to run the description file off the cdrom disk then run
  157.  
  158. CDCOM DPTR
  159.  
  160. this will create the .PTR and .QRF pointer files.
  161.  
  162. To create the category files (.bbs, .ptr, .cat) simply run
  163.  
  164. cdcom cat
  165.  
  166. it will ask you for the cdrom drive letter, then read the
  167. these 15 files out of the \INFO directory on the pc-sig disk.
  168. ACT.TXT, COM.TXT, DBS.TXT, GAM.TXT, GRP.TXT, HOM.TXT, KID.TXT, PRD.TXT
  169. PRO.TXT, REF.TXT, SAP.TXT, SCI.TXT, SPR.TXT, UTL.TXT, WDP.TXT, merging
  170. them all into the category.cat main listing.  The apr88 disk I believe
  171. does not have an \info directory with these files in it, although I
  172. am not sure.
  173.  
  174. The .bbs file is simply a text file, you can edit it to your liking
  175. if you wish.  You can also create a .scr version for ansi menus, however
  176. it will not be accessed in the unregistered version of this door.
  177. The category files will be created in the current directory.
  178.  
  179. Note:
  180.   Not all the disks are categorized by pc-sig.  If you find ones that are
  181. not, and wish to add them to the category.cat file, then load it up into
  182. a text editor (I use Qedit 2.1) and add the approriate line under the
  183. category heading.  When you are all finished, run
  184.  
  185. CDCOM CPTR
  186.  
  187. this will update the category.ptr file and then it will work correctly.
  188.  
  189. You can also edit the category.cat file to your liking if you don't like
  190. the format of it.  All text is fair game for editing except the
  191. Category: line.  This must stay a separate line by itself.  The number
  192. before it is the category # is used for reference only, however do not
  193. remove it.  You cannot at this time change the number of categories
  194. (next version of door will allow this).  When you are done editing
  195. run cdcom cptr to update the pointer file.
  196.  
  197. sample mandatory category line
  198. cat #, Category: category description
  199. 1, Category: Accounting, Billing
  200.  
  201. You can change the category description, but leave the Category: and the
  202. category # as they are, or else cdcom will not be able to locate it.  All
  203. other text can be editing/moved/etc to your liking.
  204.  
  205. =============================================================================
  206.  
  207. See next section below if you are running a multi-node setup.
  208.  
  209. CDCOM.DEF:
  210.  
  211. This is the main setup file to tell cdcom information about your system
  212. and internal cdcom controls.  Its format is as follows
  213.  
  214.  1> h:             ; Drive Letter of Cd-Rom Drive.
  215.  2> f:             ; Temporary Drive:\path for files.
  216.  3> g:\cdcom       ; Where CdCom will be located at.
  217.  4> on             ; Sysop page tone. (ON/OFF)
  218.  5> 1000           ; Lowest Security Level that can shell to dos.
  219.  6> gate1          ; Device to re-direct output to when compressing a disk.
  220.  7> g:\1_2485.UPP  ; Drive:\path\filename.ext to the description file.
  221.  8> g:\cdcom       ; Path to write log file to.
  222.  9> 50             ; Minimum Security Allowed to download a disk.
  223. 10> N              ; Send files from cdrom?
  224. 11> Y              ; Reboot system if cdrom timeout
  225. 12> N              ; Allow auto-logoff?
  226. 13> g:\cdcom\fix   ; Path to cdcom.fix correction files. See cdcom.fix section
  227. 14> Y              ; add ----- to log file
  228. 15> 1,36,40        ; normal text color
  229. 16> 1,37,40        ; high lighted text
  230. 17> y              ; 10th edition Y, all others N
  231. 18> 2804           ; # of disk numbers on disk
  232.  
  233. On all drive:\path designations DO NOT put a trailing backslash "\".
  234.  
  235. 1>  Drive letter of the cd-rom.  Make sure to put the ":"
  236.     after the drive letter.
  237.  
  238. 2>  Temporary storage area for file transfers and compressed
  239.     disks from the cd-rom.  Make sure that this is a separate
  240.     area of its own because after transfer it will kill all
  241.     files in this directory.  A ramdisk is perfect for this.
  242.     If the program is crashing often though try switching this
  243.     to the hard disk and see if the problem dissapears.  Some
  244.     ramdisk programs are flaky and can cause problems.  Dos's
  245.     vdisk.sys works fine for this function.  Files to be viewed
  246.     by AviewCom are also copied here, and this directory is passed
  247.     to aviewcom as being its work directory.
  248.  
  249. 3>  Drive and path where Cdcom will be run from.  This is where it
  250.     will look for all menus and other work files (except for the
  251.     description file).
  252.  
  253. 4>  Turn SYSOP page tone on or off.  Its a "red alert" type
  254.     tone, will definitely get your attention.
  255.  
  256. 5>  Lowest security user that will be allowed to shell into
  257.     dos from the program.  It shells to CDROP.BAT, that
  258.     will let you turn on watchdog, CTTY AUX1, etc.  See
  259.     example batch file.  The shell command is not displayed
  260.     in the menu, it is the "^".  If you don't want to use
  261.     this feature then make it a number larger than a security
  262.     level you need, like 10000.
  263.  
  264. 6>  Where to redirect output when zipping files.  On versions prior to the
  265.     9th edition the disks are not compressed and they must be compressed.
  266.     Cdcom uses pkzip ver 1.1 or greater for this purpose.  By using the
  267.     redirect command ( > ) the user can watch the compression take place,
  268.     since normally this text is only output to the console.  Users have been
  269.     known to drop carrier if the compression process takes too long, so the
  270.     decision is up to you whether or not to use this.  The best bet is to
  271.     install gateway so that both the con and com port can see what is going
  272.     on, then place gate# on this line where # is the com port number.  If
  273.     you don't want to use gateway then the best bet is to make this the
  274.     com port, so that the user can see what is going on, since they will
  275.     be the ones using it the most.  It has been tested with gateway2.zip
  276.     which is included in this zip file.  To install this for COM1 put in
  277.     your CONFIG.SYS file
  278.  
  279.     DEVICE=GATEWAY2.SYS -D -1
  280.  
  281.     for COM2 put
  282.  
  283.     DEVICE=GATEWAY2.SYS -D -2
  284.  
  285.     So if you install it for COM1 put GATE1 on this line, for
  286.     COM2 put GATE2.  If you decide not to install gateway at
  287.     least be put COM1 or COM2 there so they can see what is
  288.     going on and then they won't hang up on it when it takes
  289.     a long time to compress the disk.
  290.  
  291.     Note this will add a new device to your system, so rather than
  292.     doing a CTTY COM1 you can use CTTY GATE1, or CTTY GATE2 instead of
  293.     CTTY COM2.  This will allow simultaneous COM and CON operation and
  294.     makes for more interesting interaction with your remote sysops while
  295.     in DOS.  You can alt-d (for wildcat) while they are online, do a
  296.     ctty gate1 and you both can operate in dos.  Insure you ctty con
  297.     before you exit (type exit) back to the bbs.  See the gateway2.doc
  298.     file for more info on gateway.
  299.  
  300.     Remember however that the 9th and 10th editions do not use this
  301.     line, so you can leave a blank line here.
  302.  
  303. 7>  Drive:\path\filename.ext to the descriptions.  If you
  304.     want to allow the users to read the descriptions online
  305.     then enter the path here.  This file can be shared between
  306.     all nodes, so you only need one copy of it, and just change
  307.     the drive and path for each node.
  308.  
  309. 8>  Path for the log file.  This way you can have it written
  310.     to your BBS system files area or wherever so you can use
  311.     the [R]ead a text file command from remote and read the
  312.     log file, else in wildcat's case you would have to add
  313.     the path to CdCom in the configuration.
  314.  
  315. 9>  Minimum security allowed for downloading.  This allows
  316.     you to open the program up so all users can access it,
  317.     read/search descriptions but not be able to download
  318.     until they register.  Any number is valid, so if you
  319.     enter a 0 then all securities can download from the
  320.     program.
  321.  
  322. 10> The disks can either be sent from the cdrom or from
  323.     the temp directory (line 2).  If you specify N it will
  324.     copy the files from the cdrom to that directory, and send
  325.     them from there.  A Y means that it will send the files
  326.     right off the cdrom.  A N is practically a must for 9600
  327.     systems or the cdrom will bog down fast xfer times.
  328.  
  329. 11> Previously an undocumented "feature", you can now toggle whether
  330.     or not you want cdcom to cold boot your system if the cdrom drive times
  331.     out.  I found in the past that doing this would "wake-up" my cdrom
  332.     drive if it was giving me timeout errors, however for some setups
  333.     this is not acceptable.
  334.  
  335. 12> Allow or disallow users to auto-logoff from the program after
  336.     file transfers.  If allowing auto-logoff, cdcom will drop dtr
  337.     to log the user off, then exit the program.
  338.  
  339. 13> This is the path to tell cdcom where to look for the disks that are
  340.     listed in cdcom.fix.  See also CDCOM.FIX section in this doc files
  341.     for an explanation of how it works.
  342.  
  343. 14> a Y here will add a ----- divider between user "logons" in the
  344.     cdcom.log file for easier reading.  Some callers log programs
  345.     barf on this however, so a N here will keep cdcom from placing
  346.     it in the log.
  347.  
  348. 15> this is the normal text color that will be used when outputting
  349.     text to the screen, if ansi is selected.  See ms-dos 5.00 manual
  350.     pg 595 for an explanation of these commands.  DO NOT however
  351.     separate these with a ;, it will not work.  Cdcom will add that
  352.     itself.  Be sure to use a comma to separate them.  Note that color
  353.     text is a registered version only feature and will not work in the
  354.     unregistered versions.
  355.  
  356. 16> hi-lighted text color.  Certain text will be highlighted in the
  357.     program, you can select it here.  This follows the same rules as
  358.     above.
  359.  
  360. 17> pc-sig 10th edition toggle.  The disk path structure changed with
  361.     this version, so you must tell cdcom this or it will not work.  All
  362.     previous versions put a N here.
  363.  
  364. 18> number of disks supported on the cdrom disk.  The sep91 10th has
  365.     2804, dec90 9th has 2485, etc.  Note you could in fact add newer
  366.     disks by using the cdcom.fix option, add the file to the category
  367.     listing, and appending the description to the description file,
  368.     and changing this value.  This will be covered further down in this
  369.     doc file.
  370.  
  371. ==========================================================================
  372.  
  373. MULTI-NODE SETUP:
  374.  
  375. The following files are altered for multi-node setup.
  376.  
  377. CDCOM.DEF
  378. CDCOM.LOG
  379. CDCOM.SEC
  380. CDROP.BAT
  381.  
  382. The change will be in that cdcom will add the node number to the
  383. filename, so for node 1 you would have:
  384.  
  385. CDCOM1.DEF
  386. CDCOM1.LOG
  387. CDCOM1.SEC
  388. CDROP1.BAT
  389.  
  390. Cdcom will read line 35 of callinfo.bbs for the node number.  Even if
  391. you are not running mutli-node, if wildcat or your conversion program
  392. is writing a number here you must take this into account and modify these
  393. filenames as so.  If you are running an earlier version of wildcat, or
  394. your conversion program writes nothing here then cdcom will use the
  395. non-altered filenames (cdcom.def, cdcom.sec, etc).
  396.  
  397. In cdcom#.def, insure that line 2 the temp directory is a SEPARATE
  398. directory from all the other nodes.  This is VERY important!  So
  399. a good setup would be as so:
  400.  
  401. C:\CDCOM
  402.         \NODE1
  403.         \NODE2
  404.         \NODE3
  405.  
  406. Line 2 for CDCOM1.DEF would be   C:\CDCOM\NODE1
  407. Line 2 for CDCOM2.DEF would be   C:\CDCOM\NODE2
  408.  
  409. All files are opened in share mode, so you can share the description file,
  410. category file, menus, etc.  Just don't share the temp directory.
  411.  
  412. Note that most LAN's require that all .EXE, .COM and .BAT files are
  413. read-only.  You can also read-only the cdcom work files if you wish,
  414. except for CDCOM.HIS, CDCOM#.LOG, CRITICAL.LOG and CDCOM.TDY.  If
  415. you register the program then insure that CDCOM.EXE is not read-only,
  416. and if you are upgrading then insure that neither CDCOM.EXE or CDCOM.DAT
  417. are read-only.  You can change them back after the registration process.
  418.  
  419. ==========================================================================
  420.  
  421. PROTOCOLS:
  422.  
  423. Protocols are dynamic in CdCom.  They are controlled by
  424. PROTOCOL.DEF.  PROTOCOL.BBS/SCR is simply a display file
  425. to let the user know what protocols you support.  It in no
  426. way reflects what you have active.  CdCom shells to PROTOCOL.BAT
  427. for sending files.  Read PROTOCOL.DOC for more info on this.
  428.  
  429. ==========================================================================
  430.  
  431. MENU and TEXT Files:
  432.  
  433. The following files are either dumped as ansi or text depending
  434. on the users selection (callinfo line 6).  Text versions are
  435. supplied in the program.  The menu selection codes are hardcoded into the
  436. program however and cannot be changed at this time.
  437.  
  438. cdcom.bbs      - main menu
  439. cdcom1.bbs     - intro dump file
  440. protocol.bbs   - protocol selection menu
  441. category.bbs   - category selection menu
  442.  
  443. Color screens should have a .SCR extension, ascii files a .BBS extension.
  444.  
  445. By inserting a ascii 1 (ctrl-a) you can make the screen pause with
  446. a <C>ontinue, <S>top, <N>onstop prompt, and a ascii 2 will make it
  447. pause with a Press [Enter] To Continue prompt.  It will occur immediately
  448. upon reading one of these characters, so watch where you place it in the
  449. file.
  450.  
  451. You can also call up user information out of callinfo.bbs by putting a
  452. ctrl-c (alt 03) ##, where ## is the line number in callinfo.bbs you want
  453. to call up.  The ## value must be a two digit number, so for numbers less
  454. than 10 use a leading 0.
  455.  
  456. ex:05     will display the users time left in the door
  457. ex:20     will display the users default download protocol
  458.  
  459. Note that cdcom1.bbs/.scr is not a mutli-node file, so you don't need
  460. cdcom2.bbs/.scr etc.  I just called it that for lack of imagination.
  461.  
  462. =========================================================================
  463.  
  464. RUNNING CDCOM:
  465.  
  466. You must pass the full path and filename to cdcom for callinfo.bbs
  467. on the command line.  For multi-node setup it is very-bad-idea
  468. to copy callinfo.bbs to the cdcom work directory, then run it
  469. as:
  470.  
  471. cdcom callinfo.bbs
  472.  
  473. Although this will work, the next user who goes in overwrites the
  474. previous callinfo.bbs there.  A worst case scenario would of course
  475. be a simultaneous entrance into the door of you and your worst user,
  476. and he gets logged on as you.  Plus the fact that aviewcom will delete
  477. callinfo.bbs when it is all done makes this not-the-best-idea.  A
  478. better idea is to use:
  479.  
  480. cdcom c:\wildcat\node1\callinfo.bbs
  481.  
  482. passing cdcom the entire path to callinfo.bbs from the node they came from.
  483. This way there are no collisions, no overwrites and hopefully no problems.
  484.  
  485. Simply running cdcom with no command line will put it into a "local"
  486. local mode, it will not require a callinfo.bbs at all.  It will
  487. prompt you for the info it needs (with default values in brackets [ ] )
  488. then run the program as it would in local mode via callinfo.bbs, except
  489. for downloads.  When you go to download it will copy the files to a
  490. destination you can specify or use the default (default is temp dir
  491. line 2 of cdcom.def).  It will also check for free space on disk,
  492. handy for copying off to floppy.  It will ask you for the node number
  493. also, if you hit enter here it will assume no node number and operate
  494. as so.  If you are on one of your nodes then enter that number.
  495.  
  496. Sample Batch File for Running CdCom with Wildcat:
  497.  
  498. ctty con
  499. c:
  500. cd \cdcom
  501. set dszlog=c:\cdcom\cdcom.log
  502. cdcom c:\wildcat\callinfo.bbs
  503. set dszlog=
  504. c:
  505. cd\wildcat
  506. cat
  507.  
  508. The SET DSZLOG will tell DSZ to write the file transfer
  509. results to a log file.  You can tell it to use the cdcom.log
  510. file so you can see how the transfer went.
  511.  
  512. If you are running the program on a non-Wildcat system insure
  513. that there is sufficient memory for CdCom to run.  It is advised
  514. to use a shell that removes the BBS software from memory giving
  515. CdCom maximum room.  CdCom uses approximately 180k, and you must
  516. still leave room for DSZ and Aviewcom to run.  Aviewcom uses
  517. pkunzip to extract text from a zip, and pkunzip uses 220k of
  518. memory so you need about 400k free when you exit your bbs software.
  519. An error 7 will be generated by cdcom if there is insufficient memory
  520. for it to shell to any of these two programs (although the program that
  521. is being shelled to may still bomb with insufficient memory).  On LAN
  522. systems it will probably be necessary to use a program that will allow
  523. you to load the LAN drivers into high memory to free up enough memory
  524. to run these programs.  I do not run these programs so please don't call
  525. me and ask me about it, cause I really don't know.
  526.  
  527. ===========================================================================
  528.  
  529. VIEWING DISKS:
  530.  
  531. CdCom supports AViewCom thru the protocol.bat file.  All parameters
  532. passed are listed in protocol.bat.  You can use the -w to have it
  533. use callinfo.bbs, but this is not recommended.  The example in
  534. protocol.bat should work fine for all systems.  Note that aviewcom
  535. is not a true mutli-node support program so copying callinfo.bbs to
  536. the cdcom work directory is the only way get it to read callinfo.bbs.
  537.  
  538. Aviewcom is available from His Board as AVIEW54A.ZIP.  This was also
  539. the version cdcom was tested with.  AviewCom's support BBS is
  540. (619) 457-2665, HST.  Any problems with AviewCom should be reported
  541. here.
  542.  
  543. It is recommended that you create a separate directory for Aviewcom
  544. on your hard disk and path it.  Aviewcom knows where it is located
  545. (dos passes it the full path) so it can find all its work files no
  546. matter where you run it from.  This way you can quickly update it
  547. as new versions come out, and the files won't get mixed up with
  548. CdCom files.  I am working with the author of AViewCom to make
  549. sure the two programs run well together.
  550.  
  551. ===========================================================================
  552.  
  553. SECURITY FILE: (optional)  CDCOM.SEC
  554.  
  555. CDCOM.SEC allows you to assign users a certain amount of time total
  556. allowed in the door by security level for the day.  This also
  557. allows you to lock any security levels out of the program.  A users
  558. download to upload ratio can also be controlled here.
  559.  
  560. This feature is not enabled in unregistered versions of the program.
  561.  
  562. The format goes as follows:
  563.  
  564. number of security levels
  565. security,time (in minutes), dl/ul ratio
  566.  
  567. 8
  568. 5,0,1
  569. 10,15,2
  570. 15,25,5
  571. 20,45,10
  572. 50,60,25
  573. 100,90,50
  574. 1000,500,100
  575. 5000,10000,0
  576.  
  577. So here you have 8 security levels, 5 thru 5000.
  578. To lock a security level out simply put a 0 for time allowed.
  579. So in this example security level 5 is locked out, 10 gets 15
  580. minutes, 15 gets 25 minutes, etc.  This value is the maximum
  581. amount of time they will get for the day.  It will compare this time to
  582. the time left that is in callinfo.bbs.  If the time left reported
  583. by callinfo.bbs is greater than the allowed time, they will get
  584. the allowed time.  If the time left reported by callinfo.bbs is less
  585. than the allowed time they will get the time left that is reported
  586. by callinfo.bbs.
  587.  
  588. ex: callinfo.bbs reports 90 minutes left, users security is 10 so
  589.     they get 15 min.
  590. ex: callinfo.bbs reports 25 minutes left, users security is 1000,
  591.     they get 25 min.
  592.  
  593. If you do not have the CDCOM.SEC file installed, then CdCom
  594. will let all securities in, and give them the time left in
  595. callinfo.  However if you use this file then INSURE that
  596. EVERY security level your system uses is accounted
  597. for.  The program will abort if it encounters a security
  598. level not listed in cdcom.sec.
  599.  
  600. Note this is a multi-node file, so you can make it different
  601. for each node if you wish.  Node 1 is cdcom1.sec, node 2 is
  602. cdcom2.sec, etc.  The format and rules are the same however.
  603.  
  604. The time listed in cdcom.sec is the maximum amount of time for the user
  605. in the door for the day.  Even if they raid the timebank (if you run one),
  606. this is all the time they will get total for the day in the door.  Once
  607. the user exits the door their time remaining is written to a file called
  608. CDCOM.TDY.  The value that is written here is the value in cdcom.sec minus
  609. how long they were in the door.  So if they are security level 50 (60 minutes
  610. total in door for day), and are in the door for 10 minutes, a value of 50
  611. minutes will be written to cdcom.tdy.  This once again is the maximum value
  612. they will have for the rest of the day.  If they raid the timebank and take
  613. out 90 minutes, the door will only give them 50 minutes in the door.  Once the
  614. user has entered the door once during the same day, the value in cdcom.sec is
  615. ignored till the next day, and only the value in cdcom.tdy is used.
  616.  
  617. If there is an error in operation in the door or if you had something configured
  618. incorrectly then there is a chance that the time for that user will get
  619. set to 1 minute in this file.  CdCom reads this file on start-up and will
  620. use the time out of here if the date matches up.  To get around this
  621. (the 1 minute problem) just delete this file and start over.  Its not
  622. that big of a deal its only really used for the current day, not for
  623. longtime use.  CDCOM.SEC controls the total time for the day, and cdcom.tdy
  624. keeps track of how much of this time they have used for the current day.
  625.  
  626. The dl/ul ratio level will be checked against this number here everytime
  627. they enter a filename to download.  It is a straight division, the number
  628. of downloads divided by number of uploads.  So if you put 2 here, a user
  629. can still download at 10 downloads/5 uploads, but at 11 downloads/5 uploads
  630. they will be locked.  A zero value here (security 5000 in example) means
  631. no ratio check will take place, this user can download freely until they
  632. run out of time.  I will add DL kilobyte checks later.  If the user has
  633. 0 uploads, then a subtraction is performed (# downloads - # uploads) and
  634. if this result is greater than this number they will be locked.  So a
  635. 2 here will let 2-0 pass, but 3-0 will get locked.
  636.  
  637. ===========================================================================
  638.  
  639. KEEPING WITH PC-SIG's RULES:
  640.  
  641. PC-SIG has some strict rules for running their cdrom disk on a bbs.
  642. They require you send in additional $$$ for running it online, and expect
  643. you to follow certain guidelines also.  These are covered in text files
  644. on the cdrom disk, I believe in the INFO directory.
  645.  
  646. One of them is to display to the user that they are accessing pc-sig files.
  647. This can be done thru CDCOM1.BBS/SCR which is dumped to the user when they
  648. enter the door.
  649.  
  650. An additional rule is that certain disk numbers cannot be accessed.  This can
  651. be done by creating a file called CDCOM.DSK in the cdcom root dir, and in it
  652. place the disk numbers they (or you) want to lock out, each one on its own
  653. line, starting with the number of disks you want to lock out.  ex:
  654.  
  655. 2
  656. 1240
  657. 1311
  658.  
  659. Locks out 2 disks, disks 1240 and 1311.
  660.  
  661. Cdcom will check this listing before allowing the user to download the file.
  662. See the file(s) on the pc-sig disk to see which disk numbers they want
  663. locked out.
  664.  
  665. This should be sufficient to comply with their rules.
  666.  
  667. ==========================================================================
  668.  
  669. CDCOM.FIX:
  670.  
  671. Some of the disks on the cdrom are either incorrect or there may be
  672. problems with the zip.  Supposedly you can call pc-sig and get a
  673. floppy with the corrected zip file on it for free if you tell them you
  674. have the cdrom disk.  This file will let you tell cdcom to look in a
  675. alternate directory (line 13 of cdcom.def) for the disk zip file.  Just
  676. tell cdcom how many disks are in this list, and then list the disk numbers.
  677. It will check this file when they either download or view the disk.
  678.  
  679. 2
  680. 516
  681. 2339
  682.  
  683. Tells it there are two disk numbers, 516 and 2339, that will be found
  684. in the path specified on line 13 of cdcom.def.  Note that the filename
  685. needs to follow the DISK####.ZIP format, where number is the disk number
  686. (with padded 0's) or it will not be able to find the file.
  687.  
  688. ex: DISK0001.ZIP, DISK0069.ZIP, DISK0516.ZIP, DISK2339.ZIP.
  689.  
  690. note: disk 516 is messed up, there are two files in this directory
  691. with the same name, one is the correct zip of the file, the other is
  692. a zip of this zip.  To be safe you could copy the right one off (check
  693. it afterwards to make sure its the right one, I believe it toggles back
  694. and forth between the two on the reads) into the directory and list it
  695. in cdcom.fix.  The other disk number is 2339, which is a incorrect disk.
  696. Call pc-sig to get the right one then add it to this file (hopefully they
  697. will send it for free.  Haven't tried it yet as per release of this program).
  698.  
  699. ==========================================================================
  700.  
  701. ADDING NEW DISKS
  702.  
  703. There are always new pc-sig titles coming out.  If you recieve them,
  704. and would like the door to access them, here is how you can do it.
  705. Please note that this is a very primitive way to do it, and it requires
  706. that the disks be sequentially numbered.  So if you have the 10th
  707. edition, and you got disk2810.zip, in order for this to properly work
  708. you also need disks 2805, 2806, 2807, 2808 and 2809.  Perhaps in the
  709. future a more sophisticated way of adding disks can be figured out,
  710. but it hasn't struck me yet so this is all I have to offer for now.
  711.  
  712. If you want to add a new disk, there are three steps to doing this:
  713.  
  714. 1) Update the description file with the new disk description.
  715. 2) Update category.cat, placing the new disk in the proper category
  716. 3) Tell cdcom where to find the disk####.zip file using cdcom.fix
  717.  
  718. Steps 1 and 2 are optional, they are only done to let your users
  719. have access to the description and to see the file when they list
  720. categories.  Either 1 or 2 could be skipped or they could both
  721. be skipped.  Step 3 is mandatory however if you want cdcom to be
  722. able to find the file so the user can view or download the file.
  723.  
  724. In order to update the description file, you need a description for
  725. the disk.  Inside the disk####.zip file is a file called file####.txt.
  726. This file lists the files under this disk number (and in the zip).  For
  727. example here is file2804.txt from the 10th edition disk.
  728.  
  729.  
  730. Disk No: 2804
  731. Disk Title: Grin Graphics (PCX) 2 of 2 (#2803 also)
  732. PC-SIG Version: S1.0
  733.  
  734. Program Title: Grin Graphics (PCX)
  735. Author Version: 10/90
  736. Author Registration: $15.00
  737. Special Requirements: Desktop publisher and hard drive.
  738.  
  739. Over 150 humorous graphics drawn by a professional cartoonist in PCX
  740. format, compatible with desktop publishing programs such as Ventura
  741. Publisher, PageMaker, and First Publisher versions 2 and 3. Other
  742. formats available from the author include EPS (by special request), TIF,
  743. WPG, ART, IMG, LBM, GIF, and BMP. Customized work is also offered.
  744.  
  745.  
  746. In order to get it into a format that cdcom will like you must first put
  747. disk numbers in front of it.  The disk number is a four digit number.  Leave
  748. a space between it and where the description starts.  You must also put
  749. a disk number on blank lines.  ex:
  750.  
  751. 2804 Disk No: 2804
  752. 2804 Disk Title: Grin Graphics (PCX) 2 of 2 (#2803 also)
  753. 2804 PC-SIG Version: S1.0
  754. 2804
  755. 2804 Program Title: Grin Graphics (PCX)
  756.  
  757. the next thing to insure is that there is a line called
  758. DISK-TITLE:
  759. with the disk title after the :, on the same line.  So in this example
  760. you would only have to add the - between disk and title, and capitalize
  761. the work disk title.  ex:
  762.  
  763. 2804 DISK-TITLE: Grin Graphics (PCX) 2 of 2 (#2803 also)
  764.  
  765. name this description file cdcom.add, and then type
  766.  
  767. CDCOM ADD
  768.  
  769. and cdcom will append the new description onto the end of the description
  770. file.  If you have multiple disks to add, then follow these same steps
  771. until they are all done.  Then run cdcom dtpr to update the .ptr and .qrf
  772. files with the new descriptions.
  773.  
  774. Next load the category.cat file into your favorite editor (qedit works
  775. great for this) and follow the same format for the other disks to add
  776. the new disk in.  Best bet for description is to use the title that
  777. is found on the DISK-TITLE: line.  After you add all the new disks
  778. to category.cat, run cdcom cptr to update category.ptr.
  779.  
  780. After this add the disk number to cdcom.fix and make sure the file
  781. is in the directory pointed to via the cdcom.def file.
  782.  
  783. ==========================================================================
  784.  
  785. OTHER IMPORTANT INFO:
  786.  
  787. Although this program has been extensively tested bugs may
  788. still exist.  The author assumes no responsibility for any
  789. damages to hardware or data that may be incurred from running
  790. this program.
  791.  
  792. This program now requires a registration fee.  This will enable the
  793. color screens, ratio checking, and other features mentioned above.
  794. See REGISTER.DOC for registration info.
  795.  
  796. Bug fixes and future upgrades are always available on the support BBS's.
  797. Look for the CDCOMSIG.ZIP file when you logon.  View it and
  798. see if the CDCOM.EXE file has a later file date then the one you
  799. have, if it does then download it.  You must re-register the cdcom.exe
  800. update so don't lose your registration number (you can always contact
  801. me if you do).
  802.  
  803. If a version is not available for your disk then feel free to
  804. contact me and we can work something out.
  805.  
  806. My address is:   Eric Schonning
  807.                  5281 Creekside Rd.
  808.                  Camarillo, CA. 93012
  809.                  Voice # (805) 987-2110
  810.  
  811. ===========================================================================
  812.  
  813. Sample Wildcat  CALLINFO.BBS
  814.  
  815. * = Used By CdCom, ? = Used but not required
  816.  
  817. Callinfo.bbs file      Line Number) Description
  818. -----------------      ------------------------
  819. Eric Schonning      *   1) User Full Name
  820. 3                   *   2) Connect Baud Rate  (0=2400,1=300,2=1200,3=9600
  821.                            4=19200, 5=LOCAL).  This is the modem connect rate.
  822. Camarillo, CA           3) Calling From
  823. 1000                *   4) Security
  824. 177                 *   5) Logon Time Left
  825. MONO                ?   6) COLOR or MONO  (for Ansi)
  826. Password                7) Password
  827. 4                       8) User Record Number
  828. 4                       9) Minutes On System Before Shell
  829. 15:00                  10) Time Entered Shell
  830. 14:56                  11) BBS Logon Time
  831. ABCDEFHGYZ             12) Conferences Joined
  832. 0                      13) Daily Downloaded Files Total
  833. 9999                   14) Max Daily Download Limit
  834. 0                      15) Daily Download K Total
  835. 9766                   16) Max Download K Limit
  836. 805-652-1478           17) Phone Number
  837. 12/03/88 14:56         18) Time/Date Last Call
  838. NOVICE                 19) NOVICE or EXPERT Menu mode
  839. All                    20) Default File Xfer Protocol
  840. 12/03/88               21) Last New File Search
  841. 58                     22) Total Times On
  842. 23                     23) Lines Per Page
  843. 71                     24) Last Message Read
  844. 9                      25) Total Uploads
  845. 1                      26) Total Downloads
  846. 8  { Databits }        27) 7 or 8 Databits
  847. REMOTE              *  28) Either LOCAL or REMOTE
  848. COM1                *  29) Com Port Being Used
  849. 11/16/62               30) Date of Birth
  850. 38400               ?  31) Port rate (text).  If port is locked this will
  851.                            be the locked speed.
  852. AlreadyConnected       32) Not sure exactly what this is
  853. Normal Connection      33) Either MNP/ARQ Connection or Normal Connection
  854. 12/04/88 19:45         34) Current Date Time
  855. 1                   ?  35) Node Number
  856. 4                      36) Door Number
  857.  
  858. Earlier versions of wildcat don't have lines 34 - 36.  Cdcom will use the
  859. node number for true multi-node support but it is not needed to run the
  860. program.
  861.  
  862. You do not need to have information on the unused lines.  I
  863. have just included them for indentification purposes.  Some
  864. of the other info may be used in future versions.  If you
  865. don't include them insure that there is at least a blank line
  866. there.
  867.  
  868. There is a Phoenix R.C.S. to Wildcat! conversion available.
  869. You must be running at least version 1.3 or greater of
  870. Phoenix to use this program.  Qkdoor25 does not produce a
  871. sufficient callinfo.bbs for Phoenix bbs systems.
  872.  
  873. Conversions from other BBS software to Wildcat! will be made
  874. available on His Board as they are located.  Qkdoor25.zip
  875. creates an acceptable callinfo.bbs if you are looking for a
  876. conversion program.
  877.  
  878.  
  879.